<?php
session_start();
session_unset();

session_destroy();

// Session destroyed, now logout and redirect to startpage
header("Location: index.php")
?>
